package com.code.day01;

import java.util.HashMap;
import java.util.Map;

public class MapDemo {


    public static void main(String[] args) {


        Map<String, String> map = new HashMap<>();
        map.put("name","lisi");
        map.put("age","18");

        map.forEach((k,v)->{
            System.out.println(k+"--"+v);
        });
    }
}
